package com.foreverwin.mes.meapi.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.meapi.model.CustomFields;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-04
 */
public interface CustomFieldsService extends IService<CustomFields> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<CustomFields> selectPage(FrontPage<CustomFields> frontPage, CustomFields customFields);

    List<CustomFields> selectList(CustomFields customFields);

    CustomFields getAttributeValue(String handle, String attribute);

    List<CustomFields> listByHandle(String handle);
}